Skip to content

Bump actions/upload-artifact from 3 to 4 #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps actions/upload-artifact from 3 to 4.

Release notes

Sourced from actions/upload-artifact's releases.

v4.0.0

What's Changed

The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements.

ℹ️ However, this is a major update that includes breaking changes. Artifacts created with versions v3 and below are not compatible with the v4 actions. Uploads and downloads must use the same major actions versions. There are also key differences from previous versions that may require updates to your workflows.

For more information, please see:

  1. The changelog post.
  2. The README.
  3. The migration documentation.
  4. As well as the underlying npm package, @​actions/artifact documentation.

New Contributors

Full Changelog: actions/upload-artifact@v3...v4.0.0

v3.1.3

What's Changed

Full Changelog: actions/upload-artifact@v3...v3.1.3

v3.1.2

  • Update all @actions/* NPM packages to their latest versions- #374
  • Update all dev dependencies to their most recent versions - #375

v3.1.1

  • Update actions/core package to latest version to remove set-output deprecation warning #351

v3.1.0

What's Changed

Commits
  • 6546280 updating package version
  • c004fb4 Merge branch 'main' into eggyhead/use-artifact-v2.1.6
  • 90aba49 updating toolkit artifact dependency to 2.1.6
  • b06cde3 Merge pull request #563 from actions/eggyhead/release-4.3.2
  • 1746f4a Revert "updating to release 4.3.2"
  • 31685d0 updating to release 4.3.2
  • 18bf333 Merge pull request #562 from actions/eggyhead/update-artifact-v215
  • dac413b update package lock version
  • bb3b4a3 updating package version
  • 3e3da83 updating artifact and core dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Copy link
Contributor Author

dependabot bot commented on behalf of github May 20, 2024

The following labels could not be found: topic: infrastructure.

@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/upload-artifact-4 branch from e9fdfa0 to c68516e Compare May 20, 2024 08:17
Copy link

Memory usage change @ c68516e

Board flash % RAM for global variables %
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
Click for full report table
Board examples/backlight/SimpleBacklight
flash
% examples/backlight/SimpleBacklight
RAM for global variables
% examples/basic/ArduinoLogoDrawing
flash
% examples/basic/ArduinoLogoDrawing
RAM for global variables
% examples/basic/SimpleText
flash
% examples/basic/SimpleText
RAM for global variables
% examples/camera/display_camera
flash
% examples/camera/display_camera
RAM for global variables
% examples/gfx/geometrical-shapes
flash
% examples/gfx/geometrical-shapes
RAM for global variables
% examples/gfx/hello-world
flash
% examples/gfx/hello-world
RAM for global variables
% examples/gfx/touch-switch
flash
% examples/gfx/touch-switch
RAM for global variables
% examples/imu/accelerometer
flash
% examples/imu/accelerometer
RAM for global variables
% examples/imu/gyroscope
flash
% examples/imu/gyroscope
RAM for global variables
% examples/lvgl/bar_lvgl
flash
% examples/lvgl/bar_lvgl
RAM for global variables
% examples/lvgl/button_lvgl
flash
% examples/lvgl/button_lvgl
RAM for global variables
% examples/lvgl/check_radio_lvgl
flash
% examples/lvgl/check_radio_lvgl
RAM for global variables
% examples/lvgl/image_lvgl
flash
% examples/lvgl/image_lvgl
RAM for global variables
% examples/lvgl/imu_orientation
flash
% examples/lvgl/imu_orientation
RAM for global variables
% examples/lvgl/slider_lvgl
flash
% examples/lvgl/slider_lvgl
RAM for global variables
% examples/microphone/PDMSerialPlotter
flash
% examples/microphone/PDMSerialPlotter
RAM for global variables
% examples/rgb/SimpleRGB
flash
% examples/rgb/SimpleRGB
RAM for global variables
% examples/rgb/blink
flash
% examples/rgb/blink
RAM for global variables
%
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
Click for full report CSV
Board,examples/backlight/SimpleBacklight<br>flash,%,examples/backlight/SimpleBacklight<br>RAM for global variables,%,examples/basic/ArduinoLogoDrawing<br>flash,%,examples/basic/ArduinoLogoDrawing<br>RAM for global variables,%,examples/basic/SimpleText<br>flash,%,examples/basic/SimpleText<br>RAM for global variables,%,examples/camera/display_camera<br>flash,%,examples/camera/display_camera<br>RAM for global variables,%,examples/gfx/geometrical-shapes<br>flash,%,examples/gfx/geometrical-shapes<br>RAM for global variables,%,examples/gfx/hello-world<br>flash,%,examples/gfx/hello-world<br>RAM for global variables,%,examples/gfx/touch-switch<br>flash,%,examples/gfx/touch-switch<br>RAM for global variables,%,examples/imu/accelerometer<br>flash,%,examples/imu/accelerometer<br>RAM for global variables,%,examples/imu/gyroscope<br>flash,%,examples/imu/gyroscope<br>RAM for global variables,%,examples/lvgl/bar_lvgl<br>flash,%,examples/lvgl/bar_lvgl<br>RAM for global variables,%,examples/lvgl/button_lvgl<br>flash,%,examples/lvgl/button_lvgl<br>RAM for global variables,%,examples/lvgl/check_radio_lvgl<br>flash,%,examples/lvgl/check_radio_lvgl<br>RAM for global variables,%,examples/lvgl/image_lvgl<br>flash,%,examples/lvgl/image_lvgl<br>RAM for global variables,%,examples/lvgl/imu_orientation<br>flash,%,examples/lvgl/imu_orientation<br>RAM for global variables,%,examples/lvgl/slider_lvgl<br>flash,%,examples/lvgl/slider_lvgl<br>RAM for global variables,%,examples/microphone/PDMSerialPlotter<br>flash,%,examples/microphone/PDMSerialPlotter<br>RAM for global variables,%,examples/rgb/SimpleRGB<br>flash,%,examples/rgb/SimpleRGB<br>RAM for global variables,%,examples/rgb/blink<br>flash,%,examples/rgb/blink<br>RAM for global variables,%
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A

@per1234 per1234 self-assigned this Oct 8, 2024
@per1234 per1234 added the topic: infrastructure Related to project infrastructure label Oct 8, 2024
@per1234
Copy link
Contributor

per1234 commented Oct 8, 2024

@dependabot rebase

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/upload-artifact-4 branch from c68516e to b3205e4 Compare October 8, 2024 11:30
dependabot bot and others added 3 commits October 8, 2024 04:30
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 2 to 5.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](GeekyEggo/delete-artifact@v2...v5)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
The "Sync Labels" GitHub Actions workflow is configured to allow the use of multiple shared label configuration files.
This is done by using a job matrix in the GitHub Actions workflow to download each of the files from the source
repository in a parallel GitHub Actions workflow job. A GitHub Actions workflow artifact was used to transfer the
generated files between sequential jobs in the workflow. The "actions/upload-artifact" and "actions/download-artifact"
actions are used for this purpose.

Previously, a single artifact was used for then transfer of all the shared label configuration files, with each of the
parallel jobs uploading its own generated files to that artifact. However, support for uploading multiple times to a
single artifact was dropped in version 4.0.0 of the "actions/upload-artifact" action. So it is now necessary to use a
dedicated artifact for each of the builds. These can be downloaded in aggregate by using the artifact name globbing and
merging features which were introduced in version 4.1.0 of the "actions/download-artifact" action.
Copy link

github-actions bot commented Oct 8, 2024

Memory usage change @ b3205e4

Board flash % RAM for global variables %
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
Click for full report table
Board examples/backlight/SimpleBacklight
flash
% examples/backlight/SimpleBacklight
RAM for global variables
% examples/basic/ArduinoLogoDrawing
flash
% examples/basic/ArduinoLogoDrawing
RAM for global variables
% examples/basic/SimpleText
flash
% examples/basic/SimpleText
RAM for global variables
% examples/camera/display_camera
flash
% examples/camera/display_camera
RAM for global variables
% examples/gfx/geometrical-shapes
flash
% examples/gfx/geometrical-shapes
RAM for global variables
% examples/gfx/hello-world
flash
% examples/gfx/hello-world
RAM for global variables
% examples/gfx/touch-switch
flash
% examples/gfx/touch-switch
RAM for global variables
% examples/imu/accelerometer
flash
% examples/imu/accelerometer
RAM for global variables
% examples/imu/gyroscope
flash
% examples/imu/gyroscope
RAM for global variables
% examples/lvgl/bar_lvgl
flash
% examples/lvgl/bar_lvgl
RAM for global variables
% examples/lvgl/button_lvgl
flash
% examples/lvgl/button_lvgl
RAM for global variables
% examples/lvgl/check_radio_lvgl
flash
% examples/lvgl/check_radio_lvgl
RAM for global variables
% examples/lvgl/image_lvgl
flash
% examples/lvgl/image_lvgl
RAM for global variables
% examples/lvgl/imu_orientation
flash
% examples/lvgl/imu_orientation
RAM for global variables
% examples/lvgl/slider_lvgl
flash
% examples/lvgl/slider_lvgl
RAM for global variables
% examples/microphone/PDMSerialPlotter
flash
% examples/microphone/PDMSerialPlotter
RAM for global variables
% examples/rgb/SimpleRGB
flash
% examples/rgb/SimpleRGB
RAM for global variables
% examples/rgb/blink
flash
% examples/rgb/blink
RAM for global variables
%
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
Click for full report CSV
Board,examples/backlight/SimpleBacklight<br>flash,%,examples/backlight/SimpleBacklight<br>RAM for global variables,%,examples/basic/ArduinoLogoDrawing<br>flash,%,examples/basic/ArduinoLogoDrawing<br>RAM for global variables,%,examples/basic/SimpleText<br>flash,%,examples/basic/SimpleText<br>RAM for global variables,%,examples/camera/display_camera<br>flash,%,examples/camera/display_camera<br>RAM for global variables,%,examples/gfx/geometrical-shapes<br>flash,%,examples/gfx/geometrical-shapes<br>RAM for global variables,%,examples/gfx/hello-world<br>flash,%,examples/gfx/hello-world<br>RAM for global variables,%,examples/gfx/touch-switch<br>flash,%,examples/gfx/touch-switch<br>RAM for global variables,%,examples/imu/accelerometer<br>flash,%,examples/imu/accelerometer<br>RAM for global variables,%,examples/imu/gyroscope<br>flash,%,examples/imu/gyroscope<br>RAM for global variables,%,examples/lvgl/bar_lvgl<br>flash,%,examples/lvgl/bar_lvgl<br>RAM for global variables,%,examples/lvgl/button_lvgl<br>flash,%,examples/lvgl/button_lvgl<br>RAM for global variables,%,examples/lvgl/check_radio_lvgl<br>flash,%,examples/lvgl/check_radio_lvgl<br>RAM for global variables,%,examples/lvgl/image_lvgl<br>flash,%,examples/lvgl/image_lvgl<br>RAM for global variables,%,examples/lvgl/imu_orientation<br>flash,%,examples/lvgl/imu_orientation<br>RAM for global variables,%,examples/lvgl/slider_lvgl<br>flash,%,examples/lvgl/slider_lvgl<br>RAM for global variables,%,examples/microphone/PDMSerialPlotter<br>flash,%,examples/microphone/PDMSerialPlotter<br>RAM for global variables,%,examples/rgb/SimpleRGB<br>flash,%,examples/rgb/SimpleRGB<br>RAM for global variables,%,examples/rgb/blink<br>flash,%,examples/rgb/blink<br>RAM for global variables,%
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A

…rkflow

The "Compile Examples" GitHub Actions workflow is configured to compile the example sketches for each of the supported
boards. This is done by using a job matrix in the GitHub Actions workflow to generate a parallel job for each board.

A GitHub Actions workflow artifact is used to transfer the sketches report files generated by the
"arduino/compile-sketches" action between this workflow's job and the "Report Size Deltas" workflow that uses the
"arduino/report-size-deltas" action to publish the data. The "actions/upload-artifact" action is used to upload the
sketches report files to the workflow artifact.

Previously, the sketches reports from all the boards were uploaded to a single artifact. However, support for uploading
multiple times to a single artifact was dropped in version 4.0.0 of the "actions/upload-artifact" action. So it is now
necessary for each of the jobs to use a separate artifact. The "arduino/report-size-deltas" action is configured to
recognize these multiple artifacts by a regular expression that matches against a standardized prefix on the artifact
names.
@per1234 per1234 merged commit d64cf22 into main Oct 8, 2024
16 checks passed
@per1234 per1234 deleted the dependabot/github_actions/actions/upload-artifact-4 branch October 8, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant